<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
    <s:actionerror/>
    <s:fielderror/>
        <form action="login" method="post">
            请输入用户名：<input name="loginUser.username" type="text"><BR>
            请输入密码：<input name="loginUser.password" type="password">
            <input type="submit" value="登录">
        </form>

    <button onclick="window.location.href='register.jsp'" >注册</button>
<br/>
</body>
</html>